<%@ page isELIgnored="false" language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
    <h1>所有英雄</h1>
    <c:forEach items="${mylist }" var="h">
       ${h.id }--${h.name }--${h.nickname }--${h.r } <br>
    </c:forEach>
</body>
</html>